package com.liucxu.jiandanl.Entity;

import java.io.Serializable;
import java.util.List;

/**
 * 新鲜事对应的实体类
 * Created by liuchenxu on 2016/8/4.
 */
public class Post implements Serializable{

    private int id;

    private String url;

    private String title;

    private String date;

    private List<Tag> tags ;

    private Author author;

    private int comment_count;

    private Custom_fields custom_fields;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public List<Tag> getTags() {
        return tags;
    }

    public Custom_fields getCustom_fields() {
        return custom_fields;
    }

    public void setCustom_fields(Custom_fields custom_fields) {
        this.custom_fields = custom_fields;
    }

    public void setTags(List<Tag> tags) {
        this.tags = tags;
    }

    public Author getAuthor() {
        return author;
    }

    public void setAuthor(Author author) {
        this.author = author;
    }

    public int getComment_count() {
        return comment_count;
    }

    public void setComment_count(int comment_count) {
        this.comment_count = comment_count;
    }
}
